package com.lightjet.macross.base.upms.service;

import com.lightjet.macross.base.upms.domain.RoleInfo;
import com.lightjet.macross.base.upms.domain.SystemInfo;
import com.lightjet.macross.common.core.BaseService;

import java.util.List;

public interface RoleInfoService extends BaseService<RoleInfo,Integer> {

    /**
     * Description //根据ID获取角色对象
     * @author lijia
     * @Param id
     * @return com.lightjet.macross.base.upms.domain.RoleInfo
     * CreateTime 2020/3/7 11:30
     **/
    RoleInfo FindDistinctById(Integer id);

    /**
     * Description //根据系统及父节点获取其下属的角色集合
     * @author lijia
     * @Param roleInfo 角色对象
     * @param systemInfo 应用系统对象
     * @return java.util.List<com.lightjet.macross.base.upms.domain.RoleInfo>
     * CreateTime 2020/3/10 13:59
     **/
    List<RoleInfo> FindAllByParentAndBelongsystem(RoleInfo roleInfo,SystemInfo systemInfo);
}
